# coding:utf-8
import jieba

# stopwords = {}.fromkeys([ line.rstrip() for line in open('stopword.txt') ])
stopwords = {}.fromkeys(['的', '附近'])
segs = jieba.cut('北京附近的租房', cut_all=False)
final = ""
for seg in segs:
    if seg not in stopwords:
        final += seg
print(final)
